package com.example.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Customer {

    private Integer customerId;
    private String customerName;

    @TableField(exist = false)
    private List<Order> orderList;// 体现的是对多的关系
}


